package com.hxzy.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hxzy.entity.system.SysDept;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 部门自定义对象
 * @author Administrator
 */
@Getter
@Setter
@ToString
public class SysDeptVO extends SysDept {

    /**
     * 子节点
     */
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private List<SysDeptVO> children;

    /**
     * 父节点名称
     */
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private String parentName;
}
